package com.acme.reflection;

import java.io.IOException;
import java.io.Serializable;

/**
 * This is test class for get information about it with reflection
 *
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */

@Deprecated
public abstract class TestArrived extends TestBase implements Serializable, Cloneable {
    static private final String CONST_STR = "My string";
    private int myField;
    public int pubField;

    public TestArrived(final int field) throws IOException{
        this(field, 0);
    }

    public TestArrived(final int field1, int field2) throws IOException {
        super(field1);
        pubField = field2;
    }

    public int getMyField() {
        return myField;
    }

    public void setMyField(int myField) {
        this.myField = myField;
    }

    @Override
    public void function() {
        ++myField;
    }

    @Deprecated
    protected static void method(final String[] params) {
    }

    protected void throwFunc(double num) throws IllegalStateException {
    }
}

